package cn.edu.njpi.two;

/**
 * @author 朱宗辉
 * @version V1.0
 * @Package cn.edu.njpi.two
 * @date 2021/7/11 22:48
 */
public class Main {
    public static void main(String[] args) {
        Channel channel = new Channel(5);     // 工人线程的个数
        channel.startWorkers();
        new ClientThread("Alice",channel).start();
        new ClientThread("Bobby",channel).start();
        new ClientThread("Chris",channel).start();
    }
}
